Eclipse Platform
Pre-release 3.0

Package org.eclipse.jface.text.formatter

Provides a text formatter add-on for an ITextViewer.

See:
          Description

Interface Summary
IContentFormatter The interface of a document content formatter.
IContentFormatterExtension Extension interface for IContentFormatter.
IContentFormatterExtension2 Extension interface for IContentFormatter.
IFormattingContext Formatting context used in formatting strategies implementing interface IFormattingStrategyExtension.
IFormattingStrategy An formatting strategy is assumed to be specialized on formatting text of a particular content type.
IFormattingStrategyExtension Extension interface for IFormattingStrategy.
 

Class Summary
ContentFormatter Standard implementation of IContentFormatter.
ContentFormatter2 Improved standard implementation of IContentFormatter.
ContextBasedFormattingStrategy Formatting strategy for context based content formatting.
FormattingContext Default implementation of IFormattingContext.
FormattingContextProperties Keys used by IFormattingContext objects to register specific properties needed during the formatting process of a content formatter implementing IContentFormatterExtension2.
 

Package org.eclipse.jface.text.formatter Description

Provides a text formatter add-on for an ITextViewer. A text formatter changes the formatting of  document region while preserving and correctly updating the positions of the document.

Package Specification

IContentFormatter defines the concept of a text formatter. It collaborates with content type specific formatting stratgies (IFormattingStrategy) which for a given document region format the subregion with the matching content type. The package contains a default implementation of IContentFormatter (ContentFormatter).


Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.